<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Đăng nhập</title>
<script>
	function dangnhap()
	{
		var textbox = document.getElementById('emailAddress');
		var pass = document.getElementById('passwordAddress');
		//alert(pass.value);
		
		if(textbox.value == "quanghagc00613@fpt.edu.vn" &&  pass.value == "123456789"){
			alert("Hoàng Anh Quang. Chào mừng bạn quay trở lại SPM Shop.");
			window.location = 'Home.html';

		} else {
			alert("Bạn đã nhập sai Email hoặc mật khẩu!");
		}
	}
</script>
</head>
<link rel="stylesheet" type="text/css" href="css/960.css"/>
<link rel="stylesheet" type="text/css" href="css/reset.css"/>
<link rel="stylesheet" type="text/css" href="css/text.css"/>
<link rel="stylesheet" type="text/css" href="css/css_dangnhap.css"/>
<!--<script type="text/javascript" src="javascrip/javascrip_dangnhap.js"></script>-->
<body>
<div class="nen">
    <div class="container_12">
        <div class="grid_12">
            <div id="left">
                <a href="Home.html">
                	<img src="anh/logo SPM.jpg" style="width:250px; height:100px;"/>
                </a> 
            </div>
            <div id="right">
                <a id="anh"><img src="anh/png.png" style="margin-left:55px;" /></a>
 <form name="myForm" onsubmit="return dangnhap();" method="post" style="margin-left:50px;">
      <table>
      	<tr class="bang">
        	<td >Email : <span class="loi" id="saiuser"></span></td>
        </tr>
        <tr class="bang">
             <td ><input type="text" placeholder="  Email" name="email" id="emailAddress" class="dangnhap" /></td>
        </tr>
        <tr class="bang">
        	<td>Mật Khẩu : <span class="loi" id="saipass"></span></td>
        </tr>
        <tr class="bang">
             <td><input type="password" placeholder="  Mật khẩu" name="password" id="passwordAddress" class="dangnhap" /></td>
        </tr>
	</table>
    	<input type="checkbox" id="checkbox"  /><a>Ghi nhớ mật khẩu</a> <br />
		<input type="button" onclick="dangnhap()" value="Đăng nhập" id="dangnhap_quang" />
        <div id="bottom_right">
        	<a href="#">Quên mật khẩu?</a><br />
            <a href="dang ky.html">Tạo tài khỏa mới</a>
        </div>
   </form>
                <div class="line"></div>
            </div>
        </div>
    </div>
</div>
<script language="javascript" src="Admin/js/jQuery.js"></script>
<script language="javascript" src="Admin/js/test.js"></script>
</body>
</html>
